import request from "@/utils/Request";
export default {
	list(id) {
		return request({
			url: "/sys/dict/children/get",
			method: "post",
			data: { dictId: id },
		});
	},
	save(data) {
		return request({
			url: "/sys/dict/children/save",
			method: "post",
			data: data,
		});
	},
	delete(ids) {
		return request({
			url: "/sys/dict/children/delete",
			method: "delete",
			params: { ids: ids },
		});
	},
};
